// import './assets/main.css'

import { createApp } from 'vue'
import { createPinia } from 'pinia'
import Navigation from "@/components/Navigation.vue";
import Bottom from '@/components/Bottom.vue';
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import zhCn from 'element-plus/es/locale/lang/zh-cn'
import App from './App.vue'
import router from './router'
import * as echarts from "echarts"

const app = createApp(App)

app.use(ElementPlus, {locale: zhCn})
app.component('Navigation',Navigation)
app.component('Bottom', Bottom)
app.use(createPinia())
app.use(router)

app.mount('#app')

// app.use(ElementPlus)

app.config.globalProperties.$echarts = echarts